package com.cjy.runnable.demo10;

/**
 * @author Cheng JiYe
 * @description:
 * @date 2021/4/25 1:36
 */
public class SyncDemo03 {
  public static void main(String args[]) {

    // 定义线程对象
    MyThread mt = new MyThread();
    // 定义Thread对象
    Thread t1 = new Thread(mt);
    // 定义Thread对象
    Thread t2 = new Thread(mt);
    // 定义Thread对象
    Thread t3 = new Thread(mt);
    t1.start();
    t2.start();
    t3.start();
  }
}
